pp108 : Using Invoke Web service Action

Using Invoke Web service Action

This topic describes the procedure to invoke a Web service action from a rule.

This task applies while defining the action of a rule or a decision table.


Important: For using Invoke Web service action in a decision table, perform step 3 and step 4.


  1. In the Rule Definition pane, right-click then > Actions > Invoke Web service.
  2. Type the name of the action in the Action Name text box. For more information on naming the action, refer to Guidelines for Naming Rule Actions.
  3. Depending on the way the rule modeler is accessed, do the following:
    • If you accessed the rule modeler from Workspace Explorer, drag the required Web service from the Workspace Explorer to the Request box in the Action - Invoke Web service box.
    • If you accessed the rule modeler from My Documents:
      1. Click on the rule modeler tool bar. A Quick Access Menu is displayed.
      2. Click Insert on the sidebar. All the related artifacts are displayed on the Quick Access Menu.
      3. Drag the required Web service from the Quick Access Menu to the Request box in the Action - Invoke Web service box. The name of the Web service is displayed in the Method Name field and the request based on the WSDL is displayed in the Request text box below.
        Note: When attaching an external service, you can view the header details of the method by clicking Header tab, if required.
  4. Click Add.
    The type of action along with the name is displayed after then in the Rule Definition pane. Repeat the task to add more than one Web service actions to the rule.